package com.mdd.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("地区实体")
@TableName("legal_areas")
public class LegalAreas implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "1-总平台 2-管理公司")
    private Integer type;

    @ApiModelProperty(value = "")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "受委托方")
    private String commissionedParty;

    @ApiModelProperty(value = "住所地")
    private String address;

    @ApiModelProperty(value = "身份证号码/组织机构代码证")
    private String certificateNo;

    @ApiModelProperty(value = "户名")
    private String accountName;

    @ApiModelProperty(value = "账号")
    private String accountNumber;

    @ApiModelProperty(value = "开户行")
    private String bankName;

    @ApiModelProperty(value = "分佣收入")
    private BigDecimal amount;

    @ApiModelProperty(value = "1-启用")
    private Integer status;

    @ApiModelProperty(value = "areaId")
    private Integer areaId;

    @ApiModelProperty(value = "")
    private Long sort;

    @ApiModelProperty(value = "")
    private Long createTime;

    @ApiModelProperty(value = "")
    private Long updateTime;

    @ApiModelProperty(value = "")
    private Long deleteTime;

}